build: fix grep invocation in cc-options
authorKeir Fraser <keir@xen.org>
Fri, 30 Sep 2011 20:17:47 +0000 (21:17 +0100)
committerKeir Fraser <keir@xen.org>
Fri, 30 Sep 2011 20:17:47 +0000 (21:17 +0100)
commit6a688c6b6a26804a30d84d99f72a195b4efde006
tree34b4d4822b1d567129efd3537eb735070a382745
parent103b4a31567fbbea27a38dfbd5f8e1ca3a870869
build: fix grep invocation in cc-options

Currently the build produces lots of
        Usage: grep [OPTION]... PATTERN [FILE]...
        Try `grep --help' for more information.

This is due to the "grep -- $(2)" in cc-options. It seems that the
default of reading stdin is disabled when using "--". I don't know if
this is a bug in grep or how it is supposed to be but we can work
around it by explicitly passing in "-"

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Committed-by: Keir Fraser <keir@xen.org>
Config.mk